package com.mywebsite.Service;

import com.mywebsite.Domain.User;
import org.springframework.stereotype.Service;

import javax.mail.MessagingException;

@Service
public interface UserService {
    User getById(Integer id);

    User getByName(String Username);

    Integer register(String username, String password, String useremail);

    Integer update(String username, String newusername,String password, String useremail, String userinfo);
}
